const Mock = require('mockjs')

module.exports = Mock.mock({
  "list|100": [{
    "urls|3-5": ["@image(100x100, @color)"],
    "title": "@ctitle(4,8)",
    "price|10-1000": 1,
    "id": "@id",
    "desc": "@cword(10,30)"
  }],
  "tabs|10": [{
    "title|+1": ["数码", "家电", "衣服", "鞋子", "保健品", "玩具", "母婴", "视频" ,"五金" ,"视频"],
    "children|10-20": [{
      "urls|3-5": ["@image(100x100, @color)"],
      "title": "@ctitle(4,8)",
      "price|10-1000": 1,
      "id": "@id",
      "desc": "@cword(10,30)"
    }]
  }]
})